package router

import (
	"github.com/gin-gonic/gin"
	jwt "github.com/go-admin-team/go-admin-core/sdk/pkg/jwtauth"
	"tuowei.com/app/api/apis"
)

func init() {
	routerCheckRole = append(routerCheckRole, apiCollegesRouter)
}

func apiCollegesRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddleware) {
	api := apis.ApiColleges{}
	v1auth := v1.Group("/colleges")
	{
		v1auth.GET("/getProvince", api.Province)
		v1auth.GET("/list", api.SelectedList)
	}
}
